public class StaticBlock {
	public static int i;
	static{
		i = 10;
		System.out.println("Now in static block.");
	}
	public void test() {
		System.out.println("test method: i=" + i);
	}
	public static void main(String[] args) {
		System.out.println("StaticBlock.i=" + StaticBlock.i);
		new StaticBlock().test();
	}
}
